package com.peas.platform.module.icims.budget.apply.controller.vo;

import java.math.*;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("一上预算汇总")
public class BudgetOneCollectVo extends BaseVo {

    //项目汇总、项目同步
    @ApiModelProperty(value = "汇总数据类型")
    @Size(max = 20, message = "汇总数据类型不能超过20个字符")
    private String budgetOneCollectType;

    @ApiModelProperty(value = "汇总数据编码")
    @Size(max = 100, message = "汇总数据编码不能超过100个字符")
    private String budgetOneCollectCode;

    @ApiModelProperty(value = "汇总数据名称")
    @Size(max = 200, message = "汇总数据名称不能超过200个字符")
    private String budgetOneCollectName;

    //（组织架构表）外键
    @ApiModelProperty(value = "组织架构ID")
    private Long organizationId;

    //（一级项目表）外键
    @ApiModelProperty(value = "一级项目ID")
    private Long projectOneId;

    //（单位表）外键
    @ApiModelProperty(value = "单位ID")
    private Long governmentId;

    @ApiModelProperty(value = "汇总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "一上批复金额")
    private BigDecimal approveAmount;

    @ApiModelProperty(value = "预算域同步状态")
    @Size(max = 20, message = "预算域同步状态不能超过20个字符")
    private String ysySync;

    @ApiModelProperty(value = "预算域同步结果")
    private String ysySyncResult;

}
